/* 导航 */
.header .navbar-default {
    background-color: transparent;
    border: none;
}

.header .navbar-default .navbar-nav>.active>a {
    background-color: transparent;
    transition: all .6s;
}

.header .navbar-default .navbar-nav>.active>a {
    color: #98c72f;
    background-color: transparent;
}

.header .navbar-default .navbar-nav>li>a:hover {
    color: #98c72f;
    font-size: 15px;
}

/* 按钮样式 */
.navbar-default .navbar-toggle {
    border: none;
}

.navbar-toggle {
    top: 6px;
}

.navbar-default .navbar-toggle:hover {
    background-color: #98c72f;
}

@media (max-width:768px) {
    .header .navbar-default .navbar-nav>li>a {
        text-align: center;
    }

    .header .navbar-default .navbar-nav>li>a:hover {
        background-color: #98c72f;
        color: #fff;
    }
}

/* 轮播图 */
.banner img {
    width: 100%;
}

/* 内容 */
.main .main-nav a {
    color: #9ea6a6;
    font-size: 12px;
    text-decoration: none;

}

.main-nav {
    margin-top: 43px;
}

@media (max-width:768px) {
    .main-nav {
        margin-left: 13px;
    }
}

.main-top {
    margin-top: 40px;
}

.main-title {
    text-align: center;
    font-size: 23px;
    color: #656c6c;
}

.main-border {
    width: 380px;
    border-bottom: 1px solid #bfbfbf;
    margin: 0 auto;
}

/* 伪类元素 */
.main-border::before {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #98c72f;
    margin: 0 auto;
    transform: translateY(2px);
}

.main-font {
    font-size: 14px;
    text-align: center;
    color: #9ea6a6;
    line-height: 30px;
}

@media (max-width:768px) {
    .main-border {
        width: 50%;
        margin: 0 auto;
    }
}

.main-list {
    display: flex;
    justify-content: space-between;
    margin-top: 76px;
}

.main-list div {
    font-size: 17px;
    color: #9ea6a6;
    line-height: 28px;
}

.main-list div:nth-child(1) {
    border-bottom: 3px solid #e8891e;
}

.main-list div:hover {
    border-bottom: 3px solid #e8891e;
}

@media (min-width:992px) {
    .list {
        width: 590px;
    }
}

@media (max-width:768px) {
    .list {
        width: 80%;
    }
}


.menu {
    height: 1470px;
    background-color: #f4f4f4;
    margin-top: 60px;
}

.menu-box {
    width: 251px;
    height: 282px;
    margin: 30px auto;
    background-color: #ffffff;
    border-radius: 5px;
}

.menu-img {
    width: 251px;
    height: 197px;
}

.menu-font p:nth-child(1) {
    font-size: 14px;
    color: #323131;
    text-align: center;
    line-height: 40px;
}

.menu-font p:nth-child(2) {
    font-size: 12px;
    color: #9f9393;
    text-align: center;
    line-height: 0;
}

@media screen and (max-width: 1199px) and (min-width: 992px) {
    .menu-img img {
        width: 100%;
    }

    .menu-box {
        width: 100%;
    }

    .menu-img {
        width: 100%;
    }
}
.menu-box{
    transition: all .6s;
}
.menu-box:hover{
    transform: translateY(-15px);
    box-shadow: 6px 6px 15px black;
}

.menu-img{
    overflow: hidden;
}
.menu-img img{
    transition: all .6s;
}
.menu-img img:hover{
    transform: scale(1.8);
}
@media (max-width:992px){
    .menu{
        height: 100%;
    }
}
.paging{
    text-align: center;
}

.pagination>li>a{
    width: 44px;
    height: 44px;
    border-radius: 100%;
    line-height: 31px;
    margin-left: 25px;
    color: #838383;
}
.pagination>li>a:hover{
    color: #838383;
    background-color: transparent;
    border-color:#838383;
}
.pagination>li:first-child>a{
    border-top-left-radius: 100%;
    border-bottom-left-radius: 100%;
    color: #838383;
}
.pagination>li:last-child>a{
    border-top-right-radius:  100%;
    border-bottom-right-radius:  100%;
}
.pagination>.active>a{
    background-color: transparent;
    color: #838383;
    border-color: #838383;
}

.pagination>.active>a:hover{
    color: #838383;
    background-color: transparent;
    border-color:#838383;
}
.pagination {
    margin: 35px 0;
}

/* 底部 */
.footer-top{
    height: 100px;
    background-color: #505050;
}

@media (min-width:992px){
    .footer-img{
        margin-top: 20px;
    }
}

@media (max-width:992px){
    .footer-top{
        height: 100%;
    }
    .footer-img{
        display: flex;
        justify-content: center;
    }
}
.footer-bottom{
    height: 62px;
    background-color: #060606;
    color: #434343;
    line-height: 62px;

}
.footer-icon{
    display: flex;
    justify-content: center;
}
.footer-box{
    text-align: center;
}

@media (min-width:992px){
    .footer-box{
        display: flex;
    }
   
}

@media (max-width:992px){
    .footer-box{
        margin: 10px auto; 
        line-height: 26px;
    }
    .footer-bottom{
        height: 100%;
    }
}
@media screen and (max-width: 1199px) and (min-width: 992px){
    .footer-box{
        display: block;
        line-height: 30px;
    }
    .footer-bottom{
        height: 100%;
    }
}


